package net.lainiao.mycost.dao;

import net.lainiao.mycost.bean.RoleMenuInfo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/3/22.
 */
@Repository
public interface IAnthorityDAO {
    int add(RoleMenuInfo info);

    List<RoleMenuInfo> list(RoleMenuInfo info);

    int delete(Integer roleId);

    List<Map> getMenuList(Integer roleId);
}
